﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharepointSolutionInstaller.Utils.RequiredChecks
{
    /// <summary>
    /// Checks if WSS 3.0 is installed.
    /// </summary>
    internal class WSSInstalledCheck : SystemCheck
    {
        internal WSSInstalledCheck() : base("WSSInstalledCheck") { }

        protected override SystemCheckResult DoExecute()
        {
            if (IsWSSInstalled) return SystemCheckResult.Success;
            return SystemCheckResult.Error;
        }
    }
}
